<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>会员查看</title>
<script type="text/javascript" src="<%=basePath%>skin/js/jquery-1.9.1.min.js"></script>
</head>

<body>
	<table width="98%" class="input tabContent">
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">手机：</td>
			<td class="tdLeft">${member.username }</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">E-mail：</td>
			<td class="tdLeft">${member.email }</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">姓名：</td>
			<td class="tdLeft">${member.name }</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">是否启用：</td>
			<td class="tdLeft">
				<c:choose>
					<c:when test="${member.isEnabled }">是</c:when>
					<c:otherwise>否</c:otherwise>
				</c:choose>
			</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">是否锁定：</td>
			<td class="tdLeft">
				<c:choose>
					<c:when test="${member.isLocked }">是</c:when>
					<c:otherwise>否</c:otherwise>
				</c:choose>
			</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">最后登录日期：</td>
			<td class="tdLeft"><fmt:formatDate value="${member.loginDate }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">最后登录ip：</td>
			<td class="tdLeft">${member.loginIp }</td>
		</tr>
		<tr bgcolor="#FAFAF1" height="22">
			<td class="tdRight">创建日期：</td>
			<td class="tdLeft"><fmt:formatDate value="${member.createDate }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		</tr>
	</table>
	<table width="98%">
		<tr bgcolor="#EEF4EA">
			<td height="36" colspan="10">
				<input type="button" value="返回" class="button" onclick="location.href='<%=basePath%>admin/member/list.shtml'" >
			</td>
		</tr>
	</table>
</body>
</html>
